package com.ljl.module.system.domain;

import lombok.Data;

/**
 * @author 20664
 */
@Data
public class MergeTask {

    private Resource resource;

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof MergeTask) {
            return resource.equals(((MergeTask) obj).resource);
        }
        return false;
    }

    @Override
    public int hashCode() {
        return resource.hashCode();
    }
}
